<?php
class Simpple_Exception extends Exception {
	private $data;
	function __construct($message, $code=-9999) {
		parent::__construct($message, $code);
	}
	
	/**
	 * 设置数据
	 *
	 * @param mixed $data
	 */
	function setData($data) {
		$this->data = $data;
	}
	
	/**
	 * 获取数据
	 *
	 * @return mixed
	 */
	function getData() {
		return $this->data;
	}
}
?>